package com.rado.tf.gui.view.dashboard.impl;

import com.rado.tf.gui.i18n.MessageSource;
import com.rado.tf.gui.view.common.impl.AbstractViewImpl;
import com.rado.tf.gui.view.dashboard.IDashboardView;
import com.vaadin.ui.Label;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

/**
 * Created by parado on 14.03.14.
 */
@Component(DashboardViewImpl.BEAN_NAME)
public class DashboardViewImpl extends AbstractViewImpl implements IDashboardView
{
   public static final String BEAN_NAME = "dashboardView";

   @Resource
   private MessageSource messageSource;

   @PostConstruct
   @Override
   public void init()
   {
      addComponent(new Label("Dashboard View"));
   }
}
